Miles Sound System SDK 7.2a

MIDIECHO for DOS - MIDI Data Receiver and Interpreter

Discussion

The MIDIECHO program receives incoming MIDI Channel Voice and System Exclusive messages via a Roland MPU-401-compatible MIDI interface, and sends them to a specified Miles Sound System Extended MIDI (XMIDI) driver.

MIDIECHO is a valuable resource for musicians who wish to develop music and sound-effects arrangements for MSS applications. Composers can receive immediate feedback when developing IBM-specific XMIDI compositions on a Macintosh or Atari ST-based MIDI sequencer platform, simply by connecting the host's MIDI interface to the MPU-401 interface on a "slave" PC system running MIDIECHO.

MIDIECHO has the following command-line syntax:


MIDIECHO driver.MDI [driver.DIG] [wavelib.WVL] [GTL_prefix]
[/MA:xx] [/MI:xx]
[/A:xx] [/I:xx] [/D:xx]
[/DA:xx] [DI:xx] [/DD:xx]
[/PR:xx]

where driver.MDI specifies the Miles Sound System .MDI driver to be used for playback performance, and GTL_prefix optionally indicates the pathname and filename prefix under which Yamaha or Roland MT-32 Global Timbre Library files are stored. Other optional parameters include /A:xx, /I:xx, and /D:xx, which specify the hexadecimal I/O port address, IRQ number, and DMA channel to be used by the MSS playback driver, and the /MA:xx and /MI:xx parameters which specify the address and IRQ setting of the Roland MPU401-compatible MIDI interface used to receive the incoming data. The /MA and /MI parameters are required only if the Roland interface is not addressable at its default jumper settings I/O address $330, IRQ 2. Similarly, /A and /I, and /D are necessary only if the sound adapter used for playback is configured at a non-standard I/O address or interrupt setting.

By specifying the filename of an MSS-compatible digital audio driver [driver.DIG] and a wave library [wavelib.WVL] created by the WAVELIB program, it is possible to use MIDIECHO as a composition aid for XMIDI-based sound-effect sequences or sequences which use "virtual wave synthesis" to play rhythm or melodic instrument sounds. The /DA:xx, /DI:xx, and /DD:xx parameters may be used to specify an explicit port address, interrupt number, and DMA channel for the digital driver, if necessary.

By default, the MIDIECHO program included with MSS is configured for a default pitch-bend range of +/- 2 semitones. The /PR:xx option permits other pitch-bend range values to be specified without sending MIDI RPN data, which may be useful in cases where MIDIECHO is used to compose sequences for playback on the MT-32 or other non-General MIDI platforms (including older MSS 2.0 XMIDI drivers).

While MIDIECHO is running, the + and - keys may be used to adjust the "voice alert limit," or the number of notes which MSS assumes the synthesizer in use can play simultaneously. During a MIDI performance, MIDIECHO presents a continuously-updated graphical display of polyphonic note activity. When the voice alert limit is exceeded, the portion of the bar graph to the right of the limit indicator will be shown in bright red, and the "total overflows" indicator above the graph will be incremented. This feature may be helpful when diagnosing note "dropout" problems that occur due to partial overflow.

When running on slower PC platforms with dense MIDI traffic, MIDIECHO may exhibit undesirable tempo variations due to program overhead. If this problem occurs, the T key can be used to disable the continuously scrolling MIDI event trace which appears in MIDIECHO's uppermost window.

The A key (All Notes Off) can be pressed at any time to "kill" any stuck notes which may occur while running MIDIECHO.

During playback, if a combination of XMIDI Patch Bank Select controller and MIDI Program Change number values is used to set up a timbre which cannot be found in the specified Global Timbre Library file, MIDIECHO will complain with an error message. The E key can be used to enable or disable a beep tone from the PC speaker when note overflow occurs, or when instrument-loading errors are reported.

MIDIECHO re-transmits incoming data on all 16 MIDI channels to the MSS driver via the AIL_send_channel_voice_message call. The program retransmits all MIDI Channel Voice messages. (MIDI System Exclusive messages are retransmitted as well, but this feature should be used with caution since "timing slips" inherent in System Exclusive transmission can cause strange, misleading effects in the music).

MIDIECHO is intended to receive normal MIDI Channel Voice data, not synthesizer-ready XMIDI data. Timing problems may occur if a dense XMIDI data stream (as from a Miles Sound System application or the MSS Version 2.0 CAKEPORT driver) is fed to the MIDIECHO host's input port.

Next Topic (SETSOUND - MSS Sound Configuration Utility)

Previous Topic (MIDIECHO for MacOS - MIDI Data Receiver and Interpreter)


Group: Miles Sound System Tools Reference
Related Sections: MIDIECHO for MacOS - MIDI Data Receiver and Interpreter, MIDIECHO for Windows - MIDI Data Receiver and Interpreter
Related Functions: AIL_send_channel_voice_message

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.